<?php

namespace V1;
class CheckRefund extends \ResourceClass
{
    public $isActive = true;
    public $remark = '退款检查';

    public function __construct()
    {
    }

    /*
     * 订单发货
     */
    public function post(array $post)
    {
        $data = array();
        $orderSn = isset($post['OrderID']) ? $post['OrderID'] : '';

        if (!$orderSn) {
            printError('缺少参数：OrderID', "40001");
        }

        $data['code'] = '10000';
        $data['message'] = 'SUCCESS';
        $data['RefundStatus'] = 'JH_07';
        $data['RefundStatusDescription'] = '无退款';
        $data['ChildrenRefundStatus'] = '';
        return $data;
    }

}